import React, {Component} from 'react'
import {NavLink} from 'react-router-dom'

export default class MyNavLink extends Component {
    render() {
        //前外部所有的属性 传递
        return <NavLink {...this.props} activeClassName="activeClass"/>
    }
}
